package com.wangzaiplus.test.designpattern.singleton;

/**
 * @ClassName HungrySingleton
 * @Description: TODO
 * @Author wgc
 * @Date 2020/06/17 9:57
 * @Version V1.0
 **/
public class HungrySingleton {
    private  static final  HungrySingleton instance=new HungrySingleton();
    private HungrySingleton(){}
    public HungrySingleton getInstance(){
        return instance;
    }
}
